/********************************************************************************
*																				*
*  Las Venturas Playground - callbacks/onPlayerDeath.nut						*
*																				*
*  The onPlayerDeath callback is located here.									*
*																				*
********************************************************************************/

function onPlayerDeath(playerid,killerid)
{
	//	sendMessageToAll(getPlayerName(killerid) + " Has killed " + getPlayerName(playerid) + " with a " + WeaponNames[getPlayerWeapon(killerid)] + " (Distance: " + getDistanceBetweenPoints3D(pos1[0], pos1[1], pos1[2], pos2[0], pos2[1], pos2[2]) + " ft)", COLOR_GREEN);
	sendMessageToAll ( "" + getPlayerName(playerid) + " died!", 0xFF000000, false);
    return 1;
}

addEvent("playerDeath", onPlayerDeath);
